import { defineStore } from 'pinia'
import { ref } from 'vue'

// 笔记存储仓库，不能进入缓存
export const useNoteValueStore = defineStore('noteValue', () => {
  // 笔记内容
  let note = ref('')
  const setNote = (str) => (note.value = str)
  return {
    note,

    setNote
  }
})
